Meaning of the word "prosperity makes friends, and adversity tries them" in English

What does "prosperity makes friends, and adversity tries them" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

prosperity makes friends, and adversity tries them

US /prɑːˈsper.ə.t̬i meɪks frendz, ænd ədˈvɝː.sə.t̬i traɪz ðem/
UK /prɒˈsper.ə.ti meɪks frendz, ənd ədˈvɜː.sə.ti traɪz ðem/
"prosperity makes friends, and adversity tries them" picture

Idiom

a proverb meaning that people are attracted to you when you are successful, but only true friends stay with you when you face difficulties

Example:
When he lost his business, he realized that prosperity makes friends, and adversity tries them.
Don't be fooled by your current popularity; remember, prosperity makes friends, and adversity tries them.